package com.ylyq.ylxx.model.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName OceanengineActionKeyword
 * @Description TODO
 * @Author xiaweichao
 * @Date 2020/7/13 13:39
 * @Version 1.0
 */
@NoArgsConstructor
@Data
@ApiModel(value = "行为兴趣定向行为关键词查询返回参数")
public class OceanengineActionKeyword {

    /**
     * message : OK
     * code : 0
     * data : {"list":[{"id":1,"name":"xxxxxx","num":100}]}
     * request_id : XXX
     */

    private String message;
    private int code;
    private DataBean data;
    private String request_id;

    @NoArgsConstructor
    @Data
    @ApiModel(value = "行为兴趣定向行为关键词查询返回参数实体")
    public static class DataBean {
        private List<ListBean> list;

        @NoArgsConstructor
        @Data
        @ApiModel(value = "行为兴趣定向行为关键词查询返回参数实体集合")
        public static class ListBean {
            /**
             * id : 1
             * name : xxxxxx
             * num : 100
             */
            @ApiModelProperty(value = "ID")
            private Long id;
            @ApiModelProperty(value = "名字")
            private String name;
            @ApiModelProperty(value = "数量")
            private Long num;
        }
    }
}
